How to deploy Ethereum token on Manta
Deploy the contract of ERC20 Token on Ethereum to Manta Pacific
tip
If you want to deploy Ethereum Token on Manta Pacific, it's recommended to contact the Manta Team to deploy the token contract. Canonical Bridge only supports Ethereum’s ERC20 Token, If the token is from another chain/protocol, please consider using a third-party bridge.
Repo Link: standard-bridge-custom-token
important
The Canonical Bridge does not support fee on transfer tokens or rebasing tokens because these types of tokens may cause bridge accounting errors.
Steps to Deploy Token
cd ./standard-bridge-custom-tokenAdd
.envfilePRIVATE_KEY=
DEPLOY_TOKEN_NAME=Add new token in
config.js, no need to filll2TokenAddress{
tokenSymbol: {
name: "Token Name",
symbol: "Symbol",
decimals: 18,
l1TokenAddress: "Token Address on Ethereum",
l2TokenAddress: "",
}
}Update
.envfile, and update DEPLOY_TOKEN_NAME=tokenSymbolDeploy Contract
npx hardhat run scripts/deploy.js --network manta-mainnetUpdate
l2TokenAddressin console toconfig.jsSubmit PR